package com.deme2;
import com.demo1.Student;

public class First1 {
    public static void main(String[] args) {
        Student student = new Student("lucke",17,167);
        System.out.println(student.name);  //编译错误 name时私有的，不允许被其他类访问
        System.out.println(student.age);  // 编译错误 age 是default,不允许其他包中的类访问
        System.out.println(student.lenght);
        student.runing();
        student.working();
    }
}
